package t3bean;

/**
 * 停车位
 *
 */
public class ParkingSpaceBean {
	private Integer id;
	private Integer isParking;// 0为没有车停放，1为有车停放
	private Long parkingTime;
	private CarBean car;

	public ParkingSpaceBean(Integer id, CarBean car) {
		this.id = id;
		this.parkingTime = (long) 0;
		this.isParking = 0;
		this.car = car;
	}

	public ParkingSpaceBean() {
		this.isParking = 0;
		this.car = null;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getIsParking() {
		return isParking;
	}

	public void setIsParking(Integer isParking) {
		this.isParking = isParking;
	}

	public Long getParkingTime() {
		return parkingTime;
	}

	public void setParkingTime(Long parkingTime) {
		this.parkingTime = parkingTime;
	}

	public CarBean getCar() {
		return car;
	}

	public void setCar(CarBean car) {
		this.car = car;
	}

}
